<?php

class Core_Form_Admin_Form_Edit extends Form
{
	protected function _init()
	{
		$this -> addElement('@title', 'name', array(
				'required'=>1,
				'label' => 'name',
				'desc'=>'unix name only'
		));
		
		
		$this -> addElement('@title', 'title', array(
				'label' => 'title',
		));
		
		$this -> addElement('@textarea', 'description', array(
				'label' => 'description',
				'required'=>1,
				'desc'=>'description'
		));
		
		$this -> addElement('@group', 'buttons');
		
		$this -> buttons -> addElement('@submit') -> addElement('@cancel');
	}

}
